package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 car_part_fastener
 * 
 * @author ruoyi
 * @date 2022-10-23
 */
public class CarPartFastener extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 汽車id */
    @Excel(name = "汽車id")
    private Long cardId;

    /** 汽车信息ID */
    @Excel(name = "汽车信息ID")
    private Long cardInfoId;

    /** 类型 */
    @Excel(name = "类型")
    private String fastenerType;

    /** 数量 */
    @Excel(name = "数量")
    private Long nums;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 材料 */
    @Excel(name = "材料")
    private String material;

    /** 工艺 */
    @Excel(name = "工艺")
    private String craft;

    /** 强度 */
    @Excel(name = "强度")
    private String vol;

    /** 重量 */
    @Excel(name = "重量")
    private Long weight;

    /** 重量-总重 */
    @Excel(name = "重量-总重")
    private Long weightTotal;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCardId(Long cardId) 
    {
        this.cardId = cardId;
    }

    public Long getCardId() 
    {
        return cardId;
    }
    public void setCardInfoId(Long cardInfoId) 
    {
        this.cardInfoId = cardInfoId;
    }

    public Long getCardInfoId() 
    {
        return cardInfoId;
    }
    public void setFastenerType(String fastenerType) 
    {
        this.fastenerType = fastenerType;
    }

    public String getFastenerType() 
    {
        return fastenerType;
    }
    public void setNums(Long nums) 
    {
        this.nums = nums;
    }

    public Long getNums() 
    {
        return nums;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setMaterial(String material) 
    {
        this.material = material;
    }

    public String getMaterial() 
    {
        return material;
    }
    public void setCraft(String craft) 
    {
        this.craft = craft;
    }

    public String getCraft() 
    {
        return craft;
    }
    public void setVol(String vol) 
    {
        this.vol = vol;
    }

    public String getVol() 
    {
        return vol;
    }
    public void setWeight(Long weight) 
    {
        this.weight = weight;
    }

    public Long getWeight() 
    {
        return weight;
    }
    public void setWeightTotal(Long weightTotal) 
    {
        this.weightTotal = weightTotal;
    }

    public Long getWeightTotal() 
    {
        return weightTotal;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cardId", getCardId())
            .append("cardInfoId", getCardInfoId())
            .append("fastenerType", getFastenerType())
            .append("nums", getNums())
            .append("model", getModel())
            .append("material", getMaterial())
            .append("craft", getCraft())
            .append("vol", getVol())
            .append("weight", getWeight())
            .append("weightTotal", getWeightTotal())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
